import 'package:chat_app_project/generated/json/base/json_field.dart';
import 'package:chat_app_project/generated/json/followers_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class FollowersEntity {
	late int id;
	late int fanId;
	late int followerId;
	late String createTime;
	late String avatar;
	late String nickName;
	late int followStatus;

	FollowersEntity();

	factory FollowersEntity.fromJson(Map<String, dynamic> json) => $FollowersEntityFromJson(json);

	Map<String, dynamic> toJson() => $FollowersEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
